package com.modular.context;

import lombok.Getter;
import lombok.Setter;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContext;

@Getter
@Setter
public class ModularSecurityContext implements SecurityContext {
    /**
     * token
     */
    private String token;
    /**
     * ip地址
     */
    private String ipAddr;

    @Override
    public Authentication getAuthentication() {
        return null;
    }

    @Override
    public void setAuthentication(Authentication authentication) {

    }
}
